#pragma once
#include "Defines.h"

namespace DirectXUI
{
	class EventArgs
	{
		PUBLIC static EventArgs Empty;
	};

#define DefineEventHandle(EventName, TEventArgs) typedef void (*EventName##EventHandle)(void* sender, TEventArgs args);
#define DefineEventProperty(EventName) PUBLIC EventName##EventHandle EventName;

#define DefineEvent(EventName, TEventArgs) \
		DefineEventHandle(EventName, TEventArgs)\
		DefineEventProperty(EventName)
}